package app.system.service.impl;

import app.system.entity.analyes.MusicList;
import app.system.mapper.AMusicListMapper;
import app.system.service.AMusicListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AMusicListServiceImpl implements AMusicListService {
    @Autowired
    private AMusicListMapper aMusicListMapper;
    @Override
    public List<MusicList> getMusicListAll() {
        return aMusicListMapper.getMusicListAll();
    }

    @Override
    public int getMusicListCount(String author) {
        return aMusicListMapper.getMusicListCount(author);
    }
}
